package com.bootx.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;

import java.math.BigDecimal;

/**
 * @author black
 */
@Entity
@JsonIgnoreProperties(ignoreUnknown = true)
public class RedPackageInfo extends BaseEntity<Long>{

    @Column(nullable = false,updatable = false,unique = true)
    private Long sn;

    private Integer redPackageCount;

    private BigDecimal amount;

    private BigDecimal money;

    private Integer seconds;

    private Integer predictIndex;

    private Integer predictSeconds;

    private Boolean win;

    private String result;

    private Integer isOdd;

    @Column(columnDefinition = "text")
    private String predictData;

    private String predictResult;

    public Boolean getWin() {
        return win;
    }

    public void setWin(Boolean win) {
        this.win = win;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public Long getSn() {
        return sn;
    }

    public void setSn(Long sn) {
        this.sn = sn;
    }

    public Integer getRedPackageCount() {
        return redPackageCount;
    }

    public void setRedPackageCount(Integer redPackageCount) {
        this.redPackageCount = redPackageCount;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public Integer getSeconds() {
        return seconds;
    }

    public void setSeconds(Integer seconds) {
        this.seconds = seconds;
    }

    public Integer getPredictIndex() {
        return predictIndex;
    }

    public void setPredictIndex(Integer predictIndex) {
        this.predictIndex = predictIndex;
    }

    public Integer getPredictSeconds() {
        return predictSeconds;
    }

    public void setPredictSeconds(Integer predictSeconds) {
        this.predictSeconds = predictSeconds;
    }

    public Integer getIsOdd() {
        return isOdd;
    }

    public void setIsOdd(Integer isOdd) {
        this.isOdd = isOdd;
    }

    public String getPredictData() {
        return predictData;
    }

    public void setPredictData(String predictData) {
        this.predictData = predictData;
    }

    public String getPredictResult() {
        return predictResult;
    }

    public void setPredictResult(String predictResult) {
        this.predictResult = predictResult;
    }
}
